package org.dawning.shop.category.entity;


import org.dawning.shop.core.base.repository.RepositoryEntity;

/**
 * 前端类目
 */
public class ViewCategory extends RepositoryEntity {

    /**
     * 父ID
     */
    private String parentId;
    /**
     * 前端分类名
     */
    private String categoryName;

    /**
     * 前端分类code
     */
    private String categoryCode;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 对应的基础分类
     */
    private String baseCategory;


    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId == null ? null : parentId.trim();
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName == null ? null : categoryName.trim();
    }

    public String getCategoryCode() {
        return categoryCode;
    }

    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode == null ? null : categoryCode.trim();
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getBaseCategory() {
        return baseCategory;
    }

    public void setBaseCategory(String baseCategory) {
        this.baseCategory = baseCategory == null ? null : baseCategory.trim();
    }
}